<?php
namespace longhu\generate\factory;

trait HeaderDoc
{
    public function header(): string
    {
        $year = date('Y', time());

        return <<<TMP
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year}
// +----------------------------------------------------------------------
// +----------------------------------------------------------------------
// | Author: longhu [329332692@qq.com ]
// +----------------------------------------------------------------------

TMP;
    }
}